<?php
require_once('table.php');
$search_category_table=new Model_Table_PropertyAttr();
$search_category_query='';
$values['agent_type']=Params::getParam('agent_type');
$values['offered']=Params::getParam('offered');
$values['rent']=Params::getParam('rent');
$values['period']=Params::getParam('period');
$values['property_type']=Params::getParam('property_type');
$values['condition']=Params::getParam('condition');
$values['date_available']=Params::getParam('date_available');
$tbl_name=$search_category_table->getTableName();
foreach ($values as $key=>$value){
	if($value!='' && $value!='all'){
		$args['where'][$tbl_name.'.'.$key]=$value;
	}
}
